package com.example.data.repository

import com.example.domain.model.Product
import com.example.domain.network.NetworkService
import com.example.domain.network.ResultWrapper
import com.example.domain.repository.ProductRepository

class ProductRepositoryImpl(val networkService: NetworkService): ProductRepository {
  override suspend fun getProducts(category: String?): ResultWrapper<List<Product>> {
    return networkService.getProducts(category)
  }
}